package com.leon.classify.domain;

import java.util.Set;

/**
 * Comment entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Comment implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String commentId;
	private Company company;
	private Integer state;
	private Set <CommentDetail>commentDetails ;

	// Constructors

	/** default constructor */
	public Comment() {
	}

	/** full constructor */
	public Comment(Company company, Integer state, Set <CommentDetail> commentDetails) {
		this.company = company;
		this.state = state;
		this.commentDetails = commentDetails;
	}

	// Property accessors

	public String getCommentId() {
		return this.commentId;
	}

	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Set<CommentDetail> getCommentDetails() {
		return commentDetails;
	}

	public void setCommentDetails(Set<CommentDetail> commentDetails) {
		this.commentDetails = commentDetails;
	}


}